<template>
	<div> 
    	<el-form-item label="上游购销合同" :label-width="formLabelWidth">
            <qiniu v-if="val.qiniuImage" :qiniuImage="val.qiniuImage"  :id="val.qiniuImage.id" :canDelete="false"></qiniu>
        </el-form-item>
        <el-form-item label="定金凭证" :label-width="formLabelWidth">
            <qiniu v-if="val.qiniuImage1" :qiniuImage="val.qiniuImage1"  :id="val.qiniuImage1.id" :canDelete="false"></qiniu>
        </el-form-item>
        <el-form-item label="供应商收款账号" :label-width="formLabelWidth">
            <qiniu v-if="val.qiniuImage2" :qiniuImage="val.qiniuImage2"  :id="val.qiniuImage2.id" :canDelete="false"></qiniu>
        </el-form-item>
        <el-form-item label="提车地址及联系人" :label-width="formLabelWidth" >
            <qiniu v-if="val.qiniuImage3" :qiniuImage="val.qiniuImage3"  :id="val.qiniuImage3.id" :canDelete="false"></qiniu>
        </el-form-item>
        <el-form-item label="补充图片" :label-width="formLabelWidth" >
            <qiniu  v-if="val.qiniuImage6" :qiniuImage="val.qiniuImage6" :id="val.qiniuImage6.id" :canDelete="false"></qiniu>
        </el-form-item>

    </div>
</template>
<script >
    import qiniu from '@/views/qiniu/upload';
	export default{
        computed:{
          val () {
            return eventHub.val
          }
        },
		components:{qiniu},
		props:['formLabelWidth'],
        beforeDestroy(){
            eventHub.val="";
        }
	}
</script>